package com.ljx.itbbs.server.mall.domain.vo.resp;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author: LiJunXi
 * @Description:
 * @Date: 2024-03-31  16:18
 */
@Data
public class OrderResp {

    @ApiModelProperty("订单ID")
    private Long id;

    @ApiModelProperty("用户ID")
    private Long userId;

    @ApiModelProperty("花费金额")
    private Integer money;

    @ApiModelProperty("商品类型")
    private String typeStr;

    @ApiModelProperty("描述")
    private String desc;

    @ApiModelProperty("数量")
    private Integer number;

    @ApiModelProperty("支付状态")
    private String paymentStatusStr;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty("创建时间")
    private Date createTime;

}
